home *** CD-ROM | disk | FTP | other *** search
/ SOHO - Exploring the Sun - 2003 Update / SOHO - Exploring the Sun - 2003 Update.iso / pc / data / main.dcr / scripts_615.ls < prev    next >
Encoding:
Text File  |  2003-02-25  |  758 b   |  34 lines

  1. on prepareFrame
  2.   global min_duration
  3.   DefCurs()
  4.   set chn to 113
  5.   if the duration of the member of sprite chn <= min_duration then
  6.     set the movieRate of sprite chn to 1
  7.   end if
  8. end
  9.  
  10. on exitFrame
  11.   global dire
  12.   LiveRollOver2mask(113, 2, 113, 1)
  13.   if dire = 1 then
  14.     if SpriteExists(113) > 0 then
  15.       set the directToStage of member the member of sprite 113 to 1
  16.     end if
  17.     set dire to 0
  18.   end if
  19.   if rollOver(2) or rollOver(113) then
  20.     set the member of sprite 119 to "aktiivisuus_pallo"
  21.   else
  22.     set the member of sprite 119 to "aktiivisuus"
  23.   end if
  24.   set a to the volume of sound 1 - 5
  25.   if a < 0 then
  26.     set a to 0
  27.   end if
  28.   if a <> the volume of sound 1 then
  29.     set the volume of sound 1 to a
  30.   end if
  31.   put a
  32.   go(the frame)
  33. end
  34.